package com.meisupic.copyright.repo;

import com.meisupic.copyright.domain.po.CopyrightWorksAuditRecord;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * creation wuxun
 *
 * @Date 2018/1/22 下午5:19
 */
public interface CopyrightWorkAuditRecordRepo extends
    JpaRepository<CopyrightWorksAuditRecord, Long> {

  List<CopyrightWorksAuditRecord> findTop1ByCopyrightWorksIdIsAndProcessResultIsOrderByCreateTimeDesc(Long copyrightWorksId, Integer processResult);
}
